cessante ratione legis cessat ipsa lex

when the reason for the law ceases, the law itself ceases

Notes

A rule of law becomes ineffective when the reason for its application has ceased to exist or does not correspond to the reality anymore. By Gratian.